import { createApp } from 'vue'
import App from '@/App.vue'
// 引入清除样式文件
import '@/style/normalize.scss'
// 引入全局组件--顶部、底部
import HospitalTop from "@/components/hospital_top/index.vue"
import HospitalBottom from "@/components/hospital_bottom/index.vue"
// 引入vue-router
import router from '@/router'
// 引入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const app = createApp(App);
app.component('HospitalTop', HospitalTop);
app.component('HospitalBottom', HospitalBottom);

app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
});

app.mount('#app');
